﻿using UnityEngine;
using Framework.AssetsManager;

public class LFileLoader
{
    public static EByte ReadFile(string path)
    {
        TextAsset content = (TextAsset)RM.Instance.GetResource(path);
        if (content == null)
            return null;

        EByte info = new EByte(content.bytes);
        return info;
    }
}
